#include "Tile.hpp"

Tile::Tile( unsigned int color, const Location & location )
          : mColor( color ),
            mLocation( location )
{
}

void Tile::SetColor( unsigned int color )
{
     mColor = color;
}

unsigned int Tile::GetColor()
{
     return mColor;
}

void Tile::SetLocation( const Location & location )
{
     mLocation = location;
}

Location Tile::GetLocation()
{
     return mLocation;
}